package com.aifund.app.service;

import com.aifund.app.entity.form.tactices.FollowExchangeManTacticsForm;
import com.aifund.app.entity.form.tactices.FollowRobotForm;
import com.aifund.app.entity.vo.UserAndExchangeKey;

import java.util.List;

public interface FollowOrderManTacticsService {

    /**
     * 查询交易员的跟随用户
     * @param exchangeManId
     * @return
     */
    List<UserAndExchangeKey> getUserIdsByExchangeManId(Long exchangeManId, Integer status);

    /**
     * 获取策略的跟单人数
     * @param exchangeManTacticsId  策略ID
     * @return
     */
    int getCountByExchangeManTacticsId(Long exchangeManTacticsId);


    /**
     * 用户跟单交易员策略
     * @param form
     * @param userId
     */
    void followExchangeManTactics(FollowExchangeManTacticsForm form, Long userId);

    /**
     * 用户跟单机器人
     * @param form
     * @param userId
     */
    void followRobot(FollowRobotForm form, Long userId);

}
